package org.jeecg.modules.tdm.webService;

import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService(name="FileWebService", //暴露服务名称
        targetNamespace="http://service.business.sxt.com")// 命名空间,一般是接口的包名倒序
public interface FileWebService {
    @WebMethod
    @Transactional(propagation= Propagation.REQUIRES_NEW,
            isolation= Isolation.READ_COMMITTED,rollbackFor = Exception.class)
    String uploadTestData(@WebParam(name="xmlString") String xmlString) ;
}
